import { httpReq } from "@/utils/http.js"

const GetAllFahuoOrderList = (data) => {
	return httpReq({
		url: '/zhuangche/GetAllFahuoOrderList',
		method: 'GET',
		data
	})
}

const GetZhuangcheOrderDetile = (data) => {
	return httpReq({
		url: '/zhuangche/GetZhuangcheOrderDetile',
		method: 'GET',
		data
	})
}

const CreateZhuangcheOrder = (data) => {
	return httpReq({
		url: '/zhuangche/CreateZhuangcheOrder',
		method: 'POST',
		data
	})
}

const EditZhuangcheOrder = (data) => {
	return httpReq({
		url: '/zhuangche/EditZhuangcheOrder',
		method: 'POST',
		data
	})
}

const DeleteZhuangcheOrder = (data) => {
	return httpReq({
		url: '/zhuangche/DeleteZhuangcheOrder',
		method: 'GET',
		data
	})
}

const UpdateFahuoOrderStatus = (data) => {
	return httpReq({
		url: '/xiaoshou/UpdateFahuoOrderStatus',
		method: 'POST',
		data
	})
}

export { GetAllFahuoOrderList, GetZhuangcheOrderDetile, CreateZhuangcheOrder, EditZhuangcheOrder, DeleteZhuangcheOrder, UpdateFahuoOrderStatus }